package com.example.paymentsystem.observer;

/**
 * @author YiYuan
 * @data 2025/6/25
 * @apoNote
 */
public interface PaymentEventPublisher {

    void publish(PaymentEvent event);

    void addListener(PaymentEventListener listener);

    void removeListener(PaymentEventListener listener);

}
